package cn.edu.csust.coursecard.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
public class DogeAPITokenParam {
    private String channel;

    private Integer ttl;

    private List<String> scopes;

    private List<String> allowActions;

    public void setScopes(String scope){
        ArrayList<String> arr = new ArrayList<>();
        arr.add(scope);
        this.scopes = arr;
    }
}
